﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace BDSim
{
    public class FreFlagValue
    {
        /// <summary>
        /// 频点标识及对应的频点字典
        /// </summary>
        public Dictionary<EFrePoint, double> FreDic = new Dictionary<EFrePoint, double>() 
        {
            {EFrePoint.BD_B1,1561.098},{EFrePoint.BD_B2,1207.14},{EFrePoint.BD_B3,1268.52},
            {EFrePoint.GPS_L1,1575.42},{EFrePoint.GPS_L2,1227.60},{EFrePoint.GPS_L5,1176.45},
            {EFrePoint.GLONASS_L1,1602},{EFrePoint.GLONASS_L2,1246},
            {EFrePoint.GALILEO_E1,1575.42},{EFrePoint.GALILEO_E5a,1176.45},{EFrePoint.GALILEO_E5b,1207.14},
        };

        /// <summary>
        /// GLONASS星座的频点，key为卫星编号，value为频点k值
        /// </summary>
        public Dictionary<int, int> DicGloFrq = new Dictionary<int, int>() 
        { { 1, -6 }, { 2, -5 }, { 3, -4 }, { 4, -3 }, { 5, -6 }, { 6, -5 }, { 7, -4 }, { 8, -3 },
          { 9, -2 }, { 10, -1 }, { 11, 0 }, { 12, 1 },{ 13, -2 }, { 14, -1 }, { 15, 0 }, { 16, 1 },
          { 17, 2 }, { 18, 3 }, { 19, 4 }, { 20, 5 },{ 21, 2 }, { 22, 3 }, { 23, 4 }, { 24, 5 }
        };
    }
}
